package com.daocheng.dc.book.kv.api;

import com.daocheng.dc.book.kv.dto.req.AddNoteContentReqDTO;
import com.daocheng.dc.book.kv.dto.req.DeleteNoteContentReqDTO;
import com.daocheng.dc.book.kv.dto.req.FindNoteContentReqDTO;
import com.daocheng.dc.book.kv.dto.rsp.FindNoteContentRspDTO;
import com.daocheng.framework.common.response.Response;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @ClassName KeyValueFeignApi
 * @author: 稻城
 * @date: 2025/4/22
 * @Version 1.0
 * @description: TODO
 */
public interface KeyValueFeignApi {
    String PREFIX = "/kv";

    @PostMapping(value = PREFIX + "/note/content/add", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    public Response<?> addNoteContent(@RequestBody AddNoteContentReqDTO addNoteContentReqDTO);
    @PostMapping(value = PREFIX + "/note/content/find")
    public Response<FindNoteContentRspDTO> FindNoteContent(@RequestBody FindNoteContentReqDTO findNoteContentReqDTO);
    @PostMapping(value = PREFIX + "/note/content/delete")
    public Response<?> deleteNoteContent(@RequestBody DeleteNoteContentReqDTO deleteNoteContentReqDTO);

}
